﻿using CoffeManagement;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CoffeManagement
{
    class ChiTietHD
    {
        //auther name: le thang
        //module name : Chi Tiet hoa don
        //date:19.2.17
        //updateLast: null
        //nội dung của đoạn code............... gom set,get va ham tao


        private int  MaDoUong, SoLuong;
        String MaHD;
        private double TongTien;
        ChiTietHD() {
            this.MaHD = null;
            this.MaDoUong = 0;
            this.SoLuong = 0;
            this.TongTien = 0.0;
        }
        ~ChiTietHD() { }
        void setMaHD(String mahd) {
           this.MaHD = mahd;
        }
        void setMaDoUong(int madouong) {
            MaDoUong = madouong;
        }
        void setSoLuong(int soluong) {
            SoLuong = soluong;

        }
        void setTongTien(double tongtien) {
            TongTien = tongtien;
        }

        String getMaHD() {
            return MaHD;

        }
        int getMaDoUong() {
            return MaDoUong;

        }
        int getSoLuong() {
            return SoLuong;
        }
        Double getTongTien()
        {
            return 1.0 * TongTien;
        }
    };
    

}

